<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>Backbase JSF for Expression Profiler Example</title>
</head>
<body>

<pre>
18 January 2007 

INTRODUCTION
  
This is a very simple example (two actually) of using JSF with two backing beans to execute a log-in action to Expression Profiler.

What is inside:

JSF:

  0. index.html - first thing the user sees when accessing the application the very first time - redirect to the JSF pages
  1. bbindex.jsp and bbwelcome.jsp - Backbase'd login page and welcome page (if user logs in successfully, s/he is shown the welcome page)
  2. index.jsp and welcome.jsp - plain JSF login page and welcome page (same logic as above)
  3. my-session-timeout-page.jsp - shown if session times out.

Java:

  0. UserBean - a simple bean with username, password, session id and authentication error attributes
  1. LoginBean - a simple bean that has a User bean, and can execute a doLogin action, which composes a SOAP call to the EP user login entry-point.

Config:

  0. WEB-INF/web.xml - the usual JSF config stuff (servlets, mappings (.jsf->faces), etc.) plus some Backbase-related properties.
     See Backbase JSF Getting Started Guide or the blank_client example that comes with Backbase JSF.
  1. WEB-INF/faces-config.xml - connects index.jsp and welcome.jsp, and bbindex.jsp and bbwelcome.jsp, specifies that LoginBean has a UserBean.

INSTALLATION

First of all, download Backbase JSF 3.3 (or later).

  0. Set up a simple JSF project in your IDE. The project should have in its dependences all the jars from
     MyFaces-1.1.4 (Core), Axis-1.4 and the Backbase JSF blank_project lib directory. These overlap, in fact, a small subset
     may only be necessary.
  1. Deploy Development/BackbaseJSF.war to webapps on the tomcat where you intend to develop and run the application.
     This is separate the project in your IDE.
  2. Build and run the project. Try to login with username/password guest/guest.

NOTES

  1. The example and the code in this project are there only to serve as a crude test of Backbase-JSF-EP connectivity;
     no effort has been made to provide any architecture/OO design for the example.
  2. The file backbase.lic in WEB-INF/lib is a 30-day trial license. We will request Backbase to provide us with a longer
     trial and replace this file then.

</pre>

</body>
</html>